home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_1 / usag.tar / usag.txt < prev   
Text File  |  1991-02-14  |  4KB  |  84 lines

  1.  
  2.                                 USAG.TXT File
  3.  
  4.                     (c)  Hewlett-Packard Company, 1990
  5.  
  6.  
  7. OVERVIEW
  8. --------
  9.  
  10. The USAG (usage) application enables you to review the stack argument
  11. object type usage for any command built into the HP 48.
  12.  
  13.  
  14. PROCEDURE
  15. ---------
  16.  
  17. Here's how to use USAG:
  18.  
  19.  1.  Transfer the USAG file from your computer to the HP 48.  The {USAG}
  20.      menu label will show up in your HP 48 VAR menu.
  21.  
  22.  2.  Enter on stack level 1 a list containing a command name. 
  23.  
  24.  3.  Press the {USAG} menu key.  The HP 48 displays a screen with usage
  25.      information for the command you specified in step 2.
  26.  
  27.  
  28. EXAMPLE
  29. -------
  30.  
  31. Assuming that you transferred the USAG program to your HP 48, that you entered
  32. a list containing the COS command in level 1, and that you pressed {USAG} in
  33. the VAR menu, here's the screen you get:
  34.  
  35.                               +-------------------- Command or function
  36.                               V                     identifier
  37.   Command or          _____________________________  
  38.   function name ---->| COS (Funct.)  xxx           |<------ Special
  39.      +-------------->| #1 of 4                     |   function attributes
  40.      |               |                             |
  41.   Argument type set  |                             |
  42.   number             |                             |
  43.         +----------->| 1: Real Number              |
  44.         |            |                             |
  45.  Argument type set   | {NEXT}{PREV}{EXIT}          |<------ Menu labels
  46.                      |_____________________________|
  47.  
  48.  
  49. This screen first tells you that COS is a function (all commands are either
  50. RPN commands or functions).  Also, following the "(Funct.)" in your display
  51. (indicated here by "xxx" ) there are three additional special function
  52. attribute characters: (1) a down arrow, which indicates the function has an
  53. inverse (for ISOL), (2) a derivative symbol, which indicates the function
  54. has a derivative, and (3) an integral symbol, which indicates that you can
  55. integrate the function.  These characters do not appear when the displayed
  56. command does not have the corresponding properties.
  57.  
  58. The second line of the screen, showing "#1 of 4," tells you that there are
  59. four possible combinations of argument types for COS, and that the first one is
  60. currently displayed.  Like COS, some commands have only a few acceptable
  61. combinations of argument types; others may have many more.
  62.  
  63. The next several lines of the USAG screen show the argument types accepted
  64. by the command and their corresponding stack levels.  For COS you are first
  65. shown that it can operate on a real number in level 1.  COS takes just one
  66. argument, but for commands that require more, all the arguments are shown
  67. on their appropriate stack levels.  Argument names match specific HP 48
  68. object types.  (The exceptions are "Any," which means that all object
  69. types are acceptable; "Symbolic," which means that the argument can be
  70. an algebraic, a global name, or a local name; and "PICT".)
  71.  
  72. The menu keys at the bottom of the screen enable you to cycle forward
  73. ({NEXT}) and backward ({PREV}) through the argument type combinations.  As you
  74. press {NEXT} and {PREV}, the second line of the display is updated, for
  75. instance, to "#2 of 4", then "#3 of 4", and so on. The calculator beeps
  76. when you step past the last argument type combination (back to the first), or
  77. step backwards from first to last. When you want to exit the application, 
  78. press {EXIT} to return to the normal stack display.  (Pressing
  79. the [ATTN] key also exits the application.)
  80.  
  81. If you use USAG to check the usage of a command that takes no arguments or
  82. just one argument, the {NEXT}, {PREV}, and {EXIT} menu labels don't appear
  83. and your current menu is left active.
  84.